<?php

class Model_Occupation extends Zend_Db_Table_Abstract
{
    protected $_name = 'tb_cargo';
	protected $_primary = 'cod_cargo';
	protected $_sequence = true;
	
	public function occupationForSelect()
    {
    	$select = $this->select();
    	$select->order('cod_cargo');
    	return $this->fetchAll($select);
    }
}